package com.jintoufs.dao.baseinfo;


import com.jintoufs.dao.QueryFilters;
import com.jintoufs.domain.baseinfo.Vendor;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface VendorDAO {
    List<Map<String, Object>> getByFilter(QueryFilters filters_);

    void delete(Integer id);

    void update(Vendor vendor);

    void save(Vendor vendor);

    List<Vendor> queryByParams(Map<String, Object> params);
}